#include <bits/stdc++.h>
using namespace std;
int main()
{
    ios::sync_with_stdio(false), cin.tie(0), cout.tie(0);
    int a , b;
    cout << "Please enter the dividend:\n"; cin >> a;
    cout << "Please enter the divisor:\n"; cin >> b;
    while(!b) {
        cout << "Error: divisor can not be zero! Please enter a new divisor:\n"; 
        cin >> b;
    }
    cout << a / b << endl;    
    return 0;
}